package cn.itcast.star.graph.core.service;

import cn.itcast.star.graph.core.pojo.dto.request.UserLoginReqDTO;
import cn.itcast.star.graph.core.pojo.dto.respone.UserLoginResDTO;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.itcast.star.graph.core.pojo.User;
import org.apache.coyote.BadRequestException;

public interface UserService extends IService<User> {
    UserLoginResDTO loginByPassword(UserLoginReqDTO userLoginReqDTO) throws BadRequestException;
}